import Vue from 'vue'
import App from './App'
import router from './router'

import './plugins/axios' // 异步 ajax 请求
import './plugins/element' // PC 端 UI 库 https://element.eleme.cn
import './plugins/moment' // 日期时间格式化 http://momentjs.cn
import './plugins/quill-editor' // 富文本编辑器 https://github.com/surmon-china/vue-quill-editor
import './plugins/tree-table' // 树形表格 https://github.com/MisterTaki/vue-table-with-tree-grid

import './assets/css/global.css'
import './assets/fonts/iconfont.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  render: h => h(App) // 使用 element-ui
})
